<pre xmlns:xqp="http://www.martin-probst.com/xqpretty"><span class="keyword">declare</span> <span class="keyword">option</span> <span class="identifier">xhive:fts-analyzer-class</span> <span class="keyword">
    com.emc.documentum.core.fulltext.indexserver.core.index.xhive.IndexServerAnalyzer
    </span><span class="operator">;</span> 
<span class="keyword">declare</span> <span class="keyword">option</span> <span class="identifier">xhive:index-paths-values</span> <span class="operator">
    /dmftmetadata//owner_name,/dmftmetadata//acl_name,/dmftmetadata//acl_domain,/dmftmetadata//r_modified_date
    </span><span class="operator">;</span> 

<span class="functionname">unordered</span><span class="operator">(</span><span class="keyword">for</span> <span class="variable">$i</span> <span class="keyword">in</span> <span class="functionname">collection</span><span class="operator">(</span><span class="literal string">/win32_252/dsearch/Data</span><span class="operator">)</span>
  <span class="keyword">where</span> <span class="variable">$i</span><span class="operator">/</span><span class="identifier">dmftdoc</span><span class="operator">/</span><span class="identifier">dmftinternal</span><span class="operator">/</span><span class="identifier">i_all_types</span><span class="operator">=</span> <span class="literal string">030000fc80000105</span> 
          <span class="keyword">and</span> <span class="variable">$i</span><span class="operator">/</span><span class="identifier">dmftdoc</span><span class="operator">/</span><span class="identifier">dmftinternal</span><span class="operator">/</span><span class="identifier">r_object_id</span><span class="operator">&gt;</span><span class="literal string">0b0000fc800031ed</span> 
          <span class="keyword">and</span> <span class="variable">$i</span><span class="operator">/</span><span class="identifier">dmftdoc</span><span class="operator">/</span><span class="identifier">dmftinternal</span><span class="operator">/</span><span class="identifier">r_object_id</span> <span class="operator">&lt;=</span> <span class="literal string">0b0000fc80005907</span>
<span class="keyword">  return</span>
    <span class="functionname">string</span><span class="operator">(</span><span class="operator">&lt;</span><span class="identifier">R</span><span class="operator">&gt;</span>
<span class="operator">        &lt;</span><span class="identifier">ID</span><span class="operator">&gt;</span>
<span class="operator">          {</span> 
<span class="variable">            $i</span><span class="operator">/</span><span class="identifier">dmftdoc</span><span class="operator">/</span><span class="identifier">dmftinternal</span><span class="operator">/</span><span class="identifier">r_object_id</span>
<span class="operator">          }</span>
<span class="operator">        &lt;/</span><span class="identifier">ID</span><span class="operator">&gt;</span><span class="xmlcontent"/><span class="operator">&lt;</span><span class="identifier">SPACE</span><span class="operator">&gt;</span>
<span class="operator">          {</span> 
<span class="literal string">            </span>
<span class="operator">          }</span>
<span class="operator">        &lt;/</span><span class="identifier">SPACE</span><span class="operator">&gt;</span><span class="xmlcontent"/><span class="operator">&lt;</span><span class="identifier">VSTAMP</span><span class="operator">&gt;</span>
<span class="operator">          {</span> 
<span class="variable">            $i</span><span class="operator">/</span><span class="identifier">dmftdoc</span><span class="operator">/</span><span class="identifier">dmftvstamp</span><span class="operator">/</span><span class="identifier">i_vstamp</span>
<span class="operator">          }</span>
<span class="operator">        &lt;/</span><span class="identifier">VSTAMP</span><span class="operator">&gt;</span>
<span class="operator">      &lt;/</span><span class="identifier">R</span><span class="operator">&gt;</span><span class="operator">)</span>
<span class="operator">)</span>
</pre>